package com.financial.business.yspay.dao;

import com.financial.business.yspay.domain.FinancialPaymentYsDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 银盛代付信息表
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-11-11 10:21:31
 * @des
 */

@Mapper
@Repository
public interface FinancialPaymentYsDao {

	FinancialPaymentYsDO get(Integer id);
	
	List<FinancialPaymentYsDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FinancialPaymentYsDO financialPaymentYs);
	
	int update(FinancialPaymentYsDO financialPaymentYs);

	/**
	 * 更改信息
	 * @param condMap
	 * @return
	 */
	int updateInfo(Map<String,Object> condMap) ;

	/**
	 * 通过map查询请求内容
	 * @param condMap
	 * @return
	 */
	String query(Map<String,Object> condMap) ;

	/**
	 * 通过订单号查询数据信息
	 * @param outTradeNo
	 * @return
	 */
	FinancialPaymentYsDO getOne(String outTradeNo);
}
